<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.Plots.PolynomialTrendLine Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.Plots.PolynomialTrendLine Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A plot element that draws a polynomial trendline with equation <code>y = a0 + a1 * x + a2 * x^2 + ... + aN * x^N</code>.   
 <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for VectSharp.Plots.PolynomialTrendLine:</div>
<div class="dyncontent">
<div class="center"><img src="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line__inherit__graph.png" border="0" usemap="#a_vect_sharp_8_plots_8_polynomial_trend_line_inherit__map" alt="Inheritance graph"/></div>
<map name="a_vect_sharp_8_plots_8_polynomial_trend_line_inherit__map" id="a_vect_sharp_8_plots_8_polynomial_trend_line_inherit__map">
<area shape="rect" title="A plot element that draws a polynomial trendline with equation y = a0 + a1 * x + a2 * x^2 + ...." alt="" coords="5,79,191,119"/>
<area shape="rect" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html" title="Represents a plot element." alt="" coords="50,5,146,31"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac5a84cf10bfdb2f8b49d8871d0230424"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#ac5a84cf10bfdb2f8b49d8871d0230424">PolynomialTrendLine</a> (double[] coefficients, double minX, double minY, double maxX, double maxY, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a> coordinateSystem)</td></tr>
<tr class="memdesc:ac5a84cf10bfdb2f8b49d8871d0230424"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html" title="A plot element that draws a linear trendline with equation y = a * x + b.">LinearTrendLine</a> instance, specifying the coefficients.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#ac5a84cf10bfdb2f8b49d8871d0230424">More...</a><br /></td></tr>
<tr class="separator:ac5a84cf10bfdb2f8b49d8871d0230424"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c1da339ca22219f5aca25632c7e03c6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a5c1da339ca22219f5aca25632c7e03c6">PolynomialTrendLine</a> (IReadOnlyList&lt; IReadOnlyList&lt; double &gt; &gt; data, int order, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a> coordinateSystem, double? fixedIntercept=null)</td></tr>
<tr class="memdesc:a5c1da339ca22219f5aca25632c7e03c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html" title="A plot element that draws a polynomial trendline with equation y = a0 + a1 * x + a2 * x^2 + ....">PolynomialTrendLine</a> instance, determining the coefficients by running a regression.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a5c1da339ca22219f5aca25632c7e03c6">More...</a><br /></td></tr>
<tr class="separator:a5c1da339ca22219f5aca25632c7e03c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0814213a00f81417bd47bfe464a4d174"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a0814213a00f81417bd47bfe464a4d174">PolynomialTrendLine</a> (IReadOnlyList&lt;(double, double)&gt; data, int order, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a> coordinateSystem, double? fixedIntercept=null)</td></tr>
<tr class="memdesc:a0814213a00f81417bd47bfe464a4d174"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html" title="A plot element that draws a polynomial trendline with equation y = a0 + a1 * x + a2 * x^2 + ....">PolynomialTrendLine</a> instance, determining the coefficients by running a regression.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a0814213a00f81417bd47bfe464a4d174">More...</a><br /></td></tr>
<tr class="separator:a0814213a00f81417bd47bfe464a4d174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69b0dfeb3c074d4ac5fdf5cdbd44b209"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a69b0dfeb3c074d4ac5fdf5cdbd44b209">Plot</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> target)</td></tr>
<tr class="memdesc:a69b0dfeb3c074d4ac5fdf5cdbd44b209"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> on which to draw.</td></tr>
  </table>
  </dd>
</dl>
  <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a69b0dfeb3c074d4ac5fdf5cdbd44b209">More...</a><br /></td></tr>
<tr class="separator:a69b0dfeb3c074d4ac5fdf5cdbd44b209"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a245cbde8d8059a46690bd3b32b1cf903"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">Plot</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> target)</td></tr>
<tr class="memdesc:a245cbde8d8059a46690bd3b32b1cf903"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>.   <a href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">More...</a><br /></td></tr>
<tr class="separator:a245cbde8d8059a46690bd3b32b1cf903"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a7a4373e17ea9f3c5627b629d9d92d0b3"><td class="memItemLeft" align="right" valign="top">double[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a7a4373e17ea9f3c5627b629d9d92d0b3">Coefficients</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a7a4373e17ea9f3c5627b629d9d92d0b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coefficients (<code>a0 ... aN</code>).   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a7a4373e17ea9f3c5627b629d9d92d0b3">More...</a><br /></td></tr>
<tr class="separator:a7a4373e17ea9f3c5627b629d9d92d0b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa450a657d39fb80e2b8d8a06365f525c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#aa450a657d39fb80e2b8d8a06365f525c">MinX</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aa450a657d39fb80e2b8d8a06365f525c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The minimum X value for which the trendline is plotted.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#aa450a657d39fb80e2b8d8a06365f525c">More...</a><br /></td></tr>
<tr class="separator:aa450a657d39fb80e2b8d8a06365f525c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bd0677621b04facc28c28664b814ff1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a8bd0677621b04facc28c28664b814ff1">MinY</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a8bd0677621b04facc28c28664b814ff1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The minimum Y value for which the trendline is plotted.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a8bd0677621b04facc28c28664b814ff1">More...</a><br /></td></tr>
<tr class="separator:a8bd0677621b04facc28c28664b814ff1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab96b73194897b52c7fa34f042131f0e5"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#ab96b73194897b52c7fa34f042131f0e5">MaxX</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab96b73194897b52c7fa34f042131f0e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum X value for which the trendline is plotted.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#ab96b73194897b52c7fa34f042131f0e5">More...</a><br /></td></tr>
<tr class="separator:ab96b73194897b52c7fa34f042131f0e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fde96e393ada32abba9174944dbca8d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a4fde96e393ada32abba9174944dbca8d">MaxY</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a4fde96e393ada32abba9174944dbca8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum Y value for which the trendline is plotted.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a4fde96e393ada32abba9174944dbca8d">More...</a><br /></td></tr>
<tr class="separator:a4fde96e393ada32abba9174944dbca8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a744e61472e1b7540b6a5313b881016b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a744e61472e1b7540b6a5313b881016b8">PresentationAttributes</a> = new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>() { <a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a> = new <a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a>(5, 5, 0), Stroke = <a class="el" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">Colour.FromRgb</a>(180, 180, 180) }<code> [get, set]</code></td></tr>
<tr class="memdesc:a744e61472e1b7540b6a5313b881016b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Presentation attributes for the trendline.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a744e61472e1b7540b6a5313b881016b8">More...</a><br /></td></tr>
<tr class="separator:a744e61472e1b7540b6a5313b881016b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03099f6ba15a4bc3300062a8d296fdd7"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a03099f6ba15a4bc3300062a8d296fdd7">Tag</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a03099f6ba15a4bc3300062a8d296fdd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">A tag to identify the trendline in the plot.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a03099f6ba15a4bc3300062a8d296fdd7">More...</a><br /></td></tr>
<tr class="separator:a03099f6ba15a4bc3300062a8d296fdd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dcc67588046e65f9af473c4674a6827"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a7dcc67588046e65f9af473c4674a6827">CoordinateSystem</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a7dcc67588046e65f9af473c4674a6827"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coordinate system used to transform the points from data space to plot space.   <a href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html#a7dcc67588046e65f9af473c4674a6827">More...</a><br /></td></tr>
<tr class="separator:a7dcc67588046e65f9af473c4674a6827"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td colspan="2" onclick="javascript:toggleInherit('properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html">VectSharp.Plots.IPlotElement</a></td></tr>
<tr class="memitem:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">CoordinateSystem</a><code> [get]</code></td></tr>
<tr class="memdesc:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coordinate system used to transform the points from data space to plot space.   <a href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">More...</a><br /></td></tr>
<tr class="separator:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A plot element that draws a polynomial trendline with equation <code>y = a0 + a1 * x + a2 * x^2 + ... + aN * x^N</code>.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00685">685</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac5a84cf10bfdb2f8b49d8871d0230424" name="ac5a84cf10bfdb2f8b49d8871d0230424"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5a84cf10bfdb2f8b49d8871d0230424">&#9670;&#160;</a></span>PolynomialTrendLine() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Plots.PolynomialTrendLine.PolynomialTrendLine </td>
          <td>(</td>
          <td class="paramtype">double[]&#160;</td>
          <td class="paramname"><em>coefficients</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>minX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>minY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>maxX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>maxY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a>&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_linear_trend_line.html" title="A plot element that draws a linear trendline with equation y = a * x + b.">LinearTrendLine</a> instance, specifying the coefficients.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">coefficients</td><td>The coefficients (<code>a0 ... aN</code>).</td></tr>
    <tr><td class="paramname">minX</td><td>The minimum X value for which the trendline is plotted.</td></tr>
    <tr><td class="paramname">minY</td><td>The minimum Y value for which the trendline is plotted.</td></tr>
    <tr><td class="paramname">maxX</td><td>The maximum X value for which the trendline is plotted.</td></tr>
    <tr><td class="paramname">maxY</td><td>The maximum Y value for which the trendline is plotted.</td></tr>
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00736">736</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a5c1da339ca22219f5aca25632c7e03c6" name="a5c1da339ca22219f5aca25632c7e03c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c1da339ca22219f5aca25632c7e03c6">&#9670;&#160;</a></span>PolynomialTrendLine() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Plots.PolynomialTrendLine.PolynomialTrendLine </td>
          <td>(</td>
          <td class="paramtype">IReadOnlyList&lt; IReadOnlyList&lt; double &gt; &gt;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>order</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a>&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double?&#160;</td>
          <td class="paramname"><em>fixedIntercept</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html" title="A plot element that draws a polynomial trendline with equation y = a0 + a1 * x + a2 * x^2 + ....">PolynomialTrendLine</a> instance, determining the coefficients by running a regression.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The data that will be used to determine the coefficients.</td></tr>
    <tr><td class="paramname">order</td><td>The order of the polynomial (<code>N</code>). This must be ≥ 2.</td></tr>
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
    <tr><td class="paramname">fixedIntercept</td><td>If this is <code>null</code>, the intercept (a0) is determined during the regression; otherwise, it is fixed to the specified value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentOutOfRangeException</td><td>Thrown if the <em>order</em>  is &lt; 2.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00777">777</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a0814213a00f81417bd47bfe464a4d174" name="a0814213a00f81417bd47bfe464a4d174"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0814213a00f81417bd47bfe464a4d174">&#9670;&#160;</a></span>PolynomialTrendLine() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Plots.PolynomialTrendLine.PolynomialTrendLine </td>
          <td>(</td>
          <td class="paramtype">IReadOnlyList&lt;(double, double)&gt;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>order</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a>&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double?&#160;</td>
          <td class="paramname"><em>fixedIntercept</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html" title="A plot element that draws a polynomial trendline with equation y = a0 + a1 * x + a2 * x^2 + ....">PolynomialTrendLine</a> instance, determining the coefficients by running a regression.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The data that will be used to determine the coefficients.</td></tr>
    <tr><td class="paramname">order</td><td>The order of the polynomial (<code>N</code>). This must be ≥ 2.</td></tr>
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
    <tr><td class="paramname">fixedIntercept</td><td>If this is <code>null</code>, the intercept (a0) is determined during the regression; otherwise, it is fixed to the specified value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentOutOfRangeException</td><td>Thrown if the <em>order</em>  is &lt; 2.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00830">830</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a69b0dfeb3c074d4ac5fdf5cdbd44b209" name="a69b0dfeb3c074d4ac5fdf5cdbd44b209"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69b0dfeb3c074d4ac5fdf5cdbd44b209">&#9670;&#160;</a></span>Plot()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.Plots.PolynomialTrendLine.Plot </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> on which to draw.</td></tr>
  </table>
  </dd>
</dl>
 </p>

<p>Implements <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">VectSharp.Plots.IPlotElement</a>.</p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00833">833</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a7a4373e17ea9f3c5627b629d9d92d0b3" name="a7a4373e17ea9f3c5627b629d9d92d0b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a4373e17ea9f3c5627b629d9d92d0b3">&#9670;&#160;</a></span>Coefficients</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double [] VectSharp.Plots.PolynomialTrendLine.Coefficients</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The coefficients (<code>a0 ... aN</code>).  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00690">690</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a7dcc67588046e65f9af473c4674a6827" name="a7dcc67588046e65f9af473c4674a6827"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dcc67588046e65f9af473c4674a6827">&#9670;&#160;</a></span>CoordinateSystem</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_continuous_coordinate_system.html">IContinuousCoordinateSystem</a> VectSharp.Plots.PolynomialTrendLine.CoordinateSystem</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The coordinate system used to transform the points from data space to plot space.  </p>

<p>Implements <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">VectSharp.Plots.IPlotElement</a>.</p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00724">724</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="ab96b73194897b52c7fa34f042131f0e5" name="ab96b73194897b52c7fa34f042131f0e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab96b73194897b52c7fa34f042131f0e5">&#9670;&#160;</a></span>MaxX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.PolynomialTrendLine.MaxX</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The maximum X value for which the trendline is plotted.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00704">704</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a4fde96e393ada32abba9174944dbca8d" name="a4fde96e393ada32abba9174944dbca8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fde96e393ada32abba9174944dbca8d">&#9670;&#160;</a></span>MaxY</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.PolynomialTrendLine.MaxY</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The maximum Y value for which the trendline is plotted.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00709">709</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="aa450a657d39fb80e2b8d8a06365f525c" name="aa450a657d39fb80e2b8d8a06365f525c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa450a657d39fb80e2b8d8a06365f525c">&#9670;&#160;</a></span>MinX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.PolynomialTrendLine.MinX</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The minimum X value for which the trendline is plotted.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00694">694</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a8bd0677621b04facc28c28664b814ff1" name="a8bd0677621b04facc28c28664b814ff1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bd0677621b04facc28c28664b814ff1">&#9670;&#160;</a></span>MinY</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Plots.PolynomialTrendLine.MinY</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The minimum Y value for which the trendline is plotted.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00699">699</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a744e61472e1b7540b6a5313b881016b8" name="a744e61472e1b7540b6a5313b881016b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a744e61472e1b7540b6a5313b881016b8">&#9670;&#160;</a></span>PresentationAttributes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a> VectSharp.Plots.PolynomialTrendLine.PresentationAttributes = new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element_presentation_attributes.html">PlotElementPresentationAttributes</a>() { <a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a> = new <a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a>(5, 5, 0), Stroke = <a class="el" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">Colour.FromRgb</a>(180, 180, 180) }</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Presentation attributes for the trendline.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00714">714</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<a id="a03099f6ba15a4bc3300062a8d296fdd7" name="a03099f6ba15a4bc3300062a8d296fdd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03099f6ba15a4bc3300062a8d296fdd7">&#9670;&#160;</a></span>Tag</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string VectSharp.Plots.PolynomialTrendLine.Tag</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A tag to identify the trendline in the plot.  </p>

<p class="definition">Definition at line <a class="el" href="_trendlines_8cs_source.html#l00719">719</a> of file <a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp.Plots/<a class="el" href="_trendlines_8cs_source.html">Trendlines.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="namespace_vect_sharp_1_1_plots.html">Plots</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_plots_1_1_polynomial_trend_line.html">PolynomialTrendLine</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
